<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>北京的大小</title>
		<style>
			.c1{
				height: 300px;
				width: 260px;
				padding: 20px;
				overflow: hidden;
				border: 20px dotted goldenrod;
				background-image: url(../images/kongzi.jpg);
				background-repeat: no-repeat;
				margin: 5px;
			}
			.c2{
				background-origin: content-box;
				background-clip: content-box;
			}
			.c3{
				background-origin: border-box;
				background-clip: border-box;
			} 
			.c4{
				background-origin:padding-box;
				background-clip: padding-box;
			} 
			#c5{
				height: 200px;
				width: 400px;
				border: 1px solid red;
				background: linear-gradient(to right,red,green,blue,gray);
			}
			#c6{
				height: 200px;
				width: 400px;
				border: 1px solid red;
				border-radius: 50%;
				background:radial-gradient(red,blue,green,gold);
			}
			#adv{
				font-family: "叶根友毛笔行书简体","楷体";
				width: 210px;
				height: 40px;
				white-space: nowrap;
				border: 1px solid red;
				overflow: hidden;
				text-overflow: ellipsis;
			}
		</style>
	</head>
	<body>
		<div class="c1 c2"></div>
		<div class="c1 c3"></div>
		<div class="c1 c4"></div>
		
		<div id="c5"></div>
		<div id="c6"></div>
		<h1 id="adv">教育改变生活</h1>
	</body>
</html>
